import okhttp3.OkHttpClient;
import java.util.concurrent.TimeUnit;

public class HuaWeiSISUtils {

    private static OkHttpClient createCustomOkHttpClient() {
        return new OkHttpClient.Builder()
            .connectTimeout(30, TimeUnit.SECONDS)
            .readTimeout(30, TimeUnit.SECONDS)
            .writeTimeout(30, TimeUnit.SECONDS)
            .retryOnConnectionFailure(true)
            .build();
    }

    public static SisClient getClient() {
        // 使用自定义的 OkHttpClient
        return new SisClient(createCustomOkHttpClient());
    }

}